<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http：//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <include file="Pub:head"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/Style.css" />

    <script type="text/javascript">
        function delresume(id){
            if(confirm("确定要删除该简历吗？"))
            {
            var url= "__URL__/delresume/id/"+id;
            window.location.assign(url);
            }
        }


        function entry(id)
        {
            if(confirm("确定要设置该应聘者入职吗？"))
            {
                var url= "__URL__/entry/id/"+id;
                window.location.assign(url);
            }
        }

        function search()
        {
            query_userName= $("#query_userName").val()==""?"0":$("#query_userName").val();
            var url="__URL__/resume/query_userName/"+query_userName;
            window.location.assign(url);
        }

    </script>

</head>
<body>

<div class="box1">
    <fieldset style="border-color:#999999;">
        <legend>简历库</legend>

        <div class="box2" panelTitle="功能面板" id="searchPanel">
            <table>
                <tr>
                    <td>
                        <button type="button" onclick='window.location.assign("__APP__/personnel/addresume/page/resume");'><span class="icon_add">添加简历</span></button>
                    </td>
                    <td style=" width:20px;"></td>
                    <td>名称：</td>
                    <td><input id="query_userName" name="query_userName" value="{$query_userName}" type="text"/></td>
                    <td>
                        <button type="button" onclick="search()"><span class="icon_find">查询</span></button>
                    </td>
                </tr>
            </table>
        </div>



        <table class="tableStyle" >
            <tr>
                <th width="">应聘日期</th>
                <th>应聘渠道</th>
                <th>应聘职位</th>
                <th>姓名</th>
                <th>性别</th>
               <!-- <th>出生日期</th>
                <th>家庭住址</th>-->
                <th>是否面试</th>
                <th>是否通过</th>
                <th>毕业院校</th>
                <th>专业</th>
                <th>学历</th>
               <!-- <th>工作经验</th>-->
                <th>联系方式</th>
              <!--  <th>备注</th>-->
                <th>操作</th>
            </tr>
            <volist name="reaume_list" id="vo">
                <tr>
                    <td><?php if($vo['candidatesdate']!='0000-00-00 00:00:00') echo date('Y-m-d',strtotime($vo['candidatesdate'])); ?> </td>
                    <td>{$vo['candidateschannel']}</td>
                    <td>{$vo['applyposition']}</td>
                    <td>{$vo['name']}</td>
                    <td>
                        <switch name="vo.sex">
                            <case value="1">男</case>
                            <case value="0">女</case>
                            <default />未填
                        </switch>
                    </td>
                  <!--  <td><?php if($vo['birthday']!='0000-00-00') echo date('Y-m-d',strtotime($vo['birthday'])); ?> </td>
                    <td>{$vo['address']}</td>-->
                    <td>
                        <switch name="vo.isinterview">
                            <case value="1">已面试</case>
                            <case value="0">否</case>
                            <default />未填
                        </switch>
                    </td>
                    <td>
                        <switch name="vo.isthrough">
                            <case value="1">通过</case>
                            <case value="0">未通过</case>
                            <default />
                        </switch>
                    </td>
                    <td>{$vo['graduated']}</td>
                    <td>{$vo['subject']}</td>
                    <td>{$vo['education']}</td>
                   <!-- <td>{$vo['experience']}</td>-->
                    <td>{$vo['tel']}</td>
                  <!--  <td>{$vo['remark']}</td>-->
                    <td>
                        <a  href="__URL__/addresume/page/resume/id/{$vo['id']}"> 编辑 </a> /
                        <a  href="javascript:void(0);"  onclick="delresume({$vo['id']});">删除</a> /
                        <a  href="javascript:void(0);"  onclick="entry({$vo['id']});">设为入职</a>
                    </td>
                </tr>
            </volist>


        </table>

        <div id="TourExPage" class="page">{$page_method}</div>
    </fieldset>
</div>



</body>
</html>